package com.sinven.service;

import com.sinven.common.ActionResult;
import com.sinven.common.Pager;
import com.sinven.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    ActionResult<List<Teacher>> queryCurPageData(Integer curpage, Integer pageSize);

    Teacher getTeacherByTid(long tid);

    boolean addTeacher(Teacher teacher);

    boolean updateTeacher(Teacher teacher);

    boolean deleteTeacher(long tid);

    Pager<Teacher> queryCurPageData(Long curPage);
}
